home *** CD-ROM | disk | FTP | other *** search
- var score = 0;
- stop();
- clock.gotoAndPlay(1);
- s1._visible = true;
- s2._visible = true;
- s3._visible = true;
- s4._visible = true;
- s5._visible = true;
- s6._visible = true;
- s7._visible = true;
- s8._visible = true;
- s9._visible = true;
- s10._visible = true;
- s11._visible = true;
- s12._visible = true;
- s13._visible = true;
- s14._visible = true;
- a1._visible = true;
- a2._visible = true;
- a3._visible = true;
- a4._visible = true;
- a5._visible = true;
- a6._visible = true;
- a7._visible = true;
- a8._visible = true;
- a9._visible = true;
- s1._x = 196;
- s1._y = 88;
- s1.onPress = function()
- {
- this.startDrag();
- s1._rotation = 0;
- };
- s1.onRelease = function()
- {
- this.stopDrag();
- s1._rotation = -15;
- s1._x = 196;
- s1._y = 88;
- sfx.gotoAndPlay("no");
- };
- s2._x = 608;
- s2._y = 60;
- s2.onPress = function()
- {
- this.startDrag();
- s2._rotation = 0;
- };
- s2.onRelease = function()
- {
- this.stopDrag();
- s2._rotation = 15;
- s2._x = 608;
- s2._y = 60;
- sfx.gotoAndPlay("no");
- };
- s3._x = 658;
- s3._y = 70;
- s3.onPress = function()
- {
- this.startDrag();
- };
- s3.onRelease = function()
- {
- this.stopDrag();
- s3._x = 658;
- s3._y = 70;
- sfx.gotoAndPlay("no");
- };
- s4._x = 242;
- s4._y = 62;
- s4.onPress = function()
- {
- this.startDrag();
- s4._rotation = 0;
- };
- s4.onRelease = function()
- {
- this.stopDrag();
- if(this.hitTest(a3))
- {
- a3._visible = false;
- s4._visible = false;
- score += 10;
- sfx.gotoAndPlay("yes");
- nextFrame();
- }
- else
- {
- s4._rotation = 15;
- s4._x = 242;
- s4._y = 62;
- sfx.gotoAndPlay("no");
- }
- };
- s5._x = 297;
- s5._y = 62;
- s5.onPress = function()
- {
- this.startDrag();
- };
- s5.onRelease = function()
- {
- this.stopDrag();
- if(this.hitTest(a7))
- {
- a7._visible = false;
- s5._visible = false;
- score += 10;
- sfx.gotoAndPlay("yes");
- nextFrame();
- }
- else
- {
- s5._x = 297;
- s5._y = 62;
- sfx.gotoAndPlay("no");
- }
- };
- s6._x = 355;
- s6._y = 60;
- s6.onPress = function()
- {
- this.startDrag();
- s6._rotation = 0;
- };
- s6.onRelease = function()
- {
- this.stopDrag();
- if(this.hitTest(a1))
- {
- a1._visible = false;
- s6._visible = false;
- score += 10;
- sfx.gotoAndPlay("yes");
- nextFrame();
- }
- else
- {
- s6._rotation = -15;
- s6._x = 355;
- s6._y = 60;
- sfx.gotoAndPlay("no");
- }
- };
- s7._x = 411;
- s7._y = 65;
- s7.onPress = function()
- {
- this.startDrag();
- s7._rotation = 0;
- };
- s7.onRelease = function()
- {
- this.stopDrag();
- s7._rotation = 15;
- s7._x = 411;
- s7._y = 65;
- sfx.gotoAndPlay("no");
- };
- s8._x = 556;
- s8._y = 63;
- s8.onPress = function()
- {
- this.startDrag();
- };
- s8.onRelease = function()
- {
- this.stopDrag();
- if(this.hitTest(a6))
- {
- a6._visible = false;
- s8._visible = false;
- score += 10;
- sfx.gotoAndPlay("yes");
- nextFrame();
- }
- else
- {
- s8._x = 556;
- s8._y = 63;
- sfx.gotoAndPlay("no");
- }
- };
- s9._x = 713;
- s9._y = 98;
- s9.onPress = function()
- {
- this.startDrag();
- };
- s9.onRelease = function()
- {
- this.stopDrag();
- if(this.hitTest(a9))
- {
- a9._visible = false;
- s9._visible = false;
- score += 10;
- sfx.gotoAndPlay("yes");
- nextFrame();
- }
- else
- {
- s9._x = 713;
- s9._y = 98;
- sfx.gotoAndPlay("no");
- }
- };
- s10._x = 192;
- s10._y = 209;
- s10.onPress = function()
- {
- this.startDrag();
- s10._rotation = 0;
- };
- s10.onRelease = function()
- {
- this.stopDrag();
- if(this.hitTest(a2))
- {
- a2._visible = false;
- s10._visible = false;
- score += 10;
- sfx.gotoAndPlay("yes");
- nextFrame();
- }
- else
- {
- s10._rotation = -15;
- s10._x = 192;
- s10._y = 209;
- sfx.gotoAndPlay("no");
- }
- };
- s11._x = 733;
- s11._y = 162;
- s11.onPress = function()
- {
- this.startDrag();
- s11._rotation = 0;
- };
- s11.onRelease = function()
- {
- this.stopDrag();
- if(this.hitTest(a8))
- {
- a8._visible = false;
- s11._visible = false;
- score += 10;
- sfx.gotoAndPlay("yes");
- nextFrame();
- }
- else
- {
- s11._rotation = -15;
- s11._x = 733;
- s11._y = 162;
- sfx.gotoAndPlay("no");
- }
- };
- s12._x = 181;
- s12._y = 150;
- s12.onPress = function()
- {
- this.startDrag();
- };
- s12.onRelease = function()
- {
- this.stopDrag();
- if(this.hitTest(a4))
- {
- a4._visible = false;
- s12._visible = false;
- score += 10;
- sfx.gotoAndPlay("yes");
- nextFrame();
- }
- else
- {
- s12._x = 181;
- s12._y = 150;
- sfx.gotoAndPlay("no");
- }
- };
- s13._x = 194;
- s13._y = 281;
- s13.onPress = function()
- {
- this.startDrag();
- s13._rotation = 0;
- };
- s13.onRelease = function()
- {
- this.stopDrag();
- s13._rotation = 15;
- s13._x = 194;
- s13._y = 281;
- sfx.gotoAndPlay("no");
- };
- s14._x = 740;
- s14._y = 227;
- s14.onPress = function()
- {
- this.startDrag();
- };
- s14.onRelease = function()
- {
- this.stopDrag();
- if(this.hitTest(a5))
- {
- a5._visible = false;
- s14._visible = false;
- score += 10;
- sfx.gotoAndPlay("yes");
- nextFrame();
- }
- else
- {
- s14._x = 740;
- s14._y = 227;
- sfx.gotoAndPlay("no");
- }
- };
-